package cn.sdormitory.smartdor.service;

import cn.sdormitory.basedata.vo.BStudentListVo;
import cn.sdormitory.smartdor.entity.SdDeptUnClockCount;
import cn.sdormitory.smartdor.entity.SdNormalAttence;
import cn.sdormitory.smartdor.vo.SdNormalAttenceQueryVo;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @className: SdNormalAttenceService
 * @author: Alex
 * @date: 2024/9/11
 **/
public interface SdNormalAttenceService {
	
	IPage<SdNormalAttence> getSdAttenceList(SdNormalAttenceQueryVo sdNormalAttenceQueryVo);
	
	/**
	 * 数据看板获取部门未打卡的人数
	 * @author alex
	 * @param: checkDate
	 * @date 2024/10/15 10:01
	 * @return
	 */
	List<SdDeptUnClockCount> getUnClockStuCountByDate(String checkDate);
	
	/**
	 * 根据部门id获取未打卡学生列表
	 * @author alex
	 * @param: deptId
	 * @param: checkDate
	 * @date 2024/10/15 14:59
	 * @return
	 */
	List<BStudentListVo> getUnClockStuListByDeptId(String deptId, String checkDate);
	
	/**
	 * 获取周末考勤数据
	 * @author alex
	 * @param: sdNormalAttenceQueryVo
	 * @date 2024/10/15 16:21
	 * @return
	 */
	IPage<SdNormalAttence> getWeekendAttenceList(SdNormalAttenceQueryVo sdNormalAttenceQueryVo);
	
}
